package com.jade.zsy.base.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 图片库
 * User: Administrator
 * Date: 2016-4-10
 * Time: 10:26
 * Version : 1.0
 * Remark:
 * History:
 */
@Data
@Entity
@Table(name = "ZS_BASE_ACCESSORY")
public class Accessory extends IdEntity {
    /**
     *  名称
     */
    @Column(name = "name", nullable = false, updatable = true)
    private String name;
    /**
     *  URL
     */
    @Column(name = "path", nullable = true, updatable = true)
    private String path;
    /**
     *  大小
     */
    @Column(name = "size", nullable = true, updatable = true)
    private float size;
    /**
     *  宽
     */
    @Column(name = "width", nullable = true, updatable = true)
    private int width;
    /**
     *  高
     */
    @Column(name = "height", nullable = true, updatable = true)
    private int height;
    /**
     *  后缀
     */
    @Column(name = "ext", nullable = true, updatable = true)
    private String ext;
    /**
     *  备注
     */
    @Column(name = "info", nullable = true, updatable = true)
    private String info;

}



 
 